<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>发表留言</title>
  <style>
    *{margin: 0;padding: 0;}
    a{
      text-decoration: none;
      color: #666;
    }
    .fl{float: left;}
    .fr{float: right;}
    .clearfix::after,
    .clearfix::before{
      content: '';
      display: block;
      visibility: hidden;
      width: 0;
      height: 0;
      clear: both;
    }
    .container{
      margin: 0 auto;
      max-width: 980px;
    }
    .nav{
      width: 100%;
      height: 40px;
      line-height: 40px;
      color: #fff;
      background-color: #d73240;
    }
    .nav-r-a{
      margin-right: 4px;
      color: #ddd;
      font-size: 14px;
    }
    .nav-r-a:hover{
      color: orange;
    }
    .nav-r-username{
      margin-right: 8px;
      font-size: 14px;
    }
    input{
      width: 280px;
      padding: 10px 14px;
      border:1px solid #d73240;
      outline: none;
    }
    textarea{
      padding: 10px;
      width: 420px;
      color: #444;
      border: 1px solid #d73240;
      outline: none;
    }
    .input-group{
      padding-bottom: 20px;
    }
    label{
      display: inline-block;
      width: 60px;
      font-size: 14px;
      font-weight: bold;
    }
    button{
      outline: none;
      border: none;
      display: inline-block;
      width: 120px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      color: #fff;
      background-color: #d73240;
    }
    .title{
      font-size: 16px;
      padding: 20px 0;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1 class="title">发表留言</h1>
    <form action="__URL__/do_post" method="post">
      <div class="input-group">
        <label for="content">留言内容:</label>
      </div>
      <div class="input-group">
        <textarea name="content" id="content" rows="8" maxlength="100" required></textarea>
      </div>
      <div class="input-group">
        <button>发表</button>
        <button type="reset">重置</button>
      </div>
    </form>
    <p><a href="__URL__/index"></a></p>
  </div>
</body>
</html>
  
